package com.gz.furnitures.dao;

import com.gz.furnitures.entity.Furn;
import com.gz.furnitures.entity.OrderItem;

import java.util.List;

public interface OrderItemDao {
    public int saveOrderItem(OrderItem orderItem);

    //得到总共有多少数据
    public int getTotalRowByOrderId(String orderId);

    public List<OrderItem> getOrderItemsByOrderId(String orderId);

    public List<OrderItem> getPageOrderItemsByOrderId(int begin, int pageSize,String orderId) ;
}
